package com.lyf.lang.string;

/**
 * @AUTHOR LYF
 * @DATE 2022/3/18
 * @VERSION 1.0
 * @DESC
 */
public class StringDemo1 {
    public String str="6";
    public static void main(String[] args) {
        StringDemo1 sv=new StringDemo1();
        sv.change(sv.str);
        System.out.println(sv.str);
        String str1="hello";
        System.out.println(str1);
        str1 = "123";
        System.out.println(":"+str1);
    }

    public void change(String str) {
        str="10";
        System.out.println("change:"+str);
    }
}
